const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer:{
    host:'localhost',
    port:8089,
    proxy:{
      '/api':{
        target:"http://api-driver.marsview.com.cn/api/mall/",
        changeOrigin:true,
        pathRewrite:{
          '/api':''
        }
      }
    }
  },
  
  // publicPath:'/app',
  // outputDir:'dist',
  // indexPath:'index2.html',
  // lintOnSave:false,
  productionSourceMap:true,
  chainWebpack:(config)=>{
    config.plugins.delete('prefetch')
  }
})
